package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Department;
import cn.wolfcode.car.business.domain.Employee;
import cn.wolfcode.car.business.query.EmployeeQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

public interface IEmployeeService {
    void deleteByPrimaryKey(Long id);

    void insert(Employee employee);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    void updateByPrimaryKey(Employee employee);

    TablePageInfo<Employee> query(EmployeeQuery qo);

    Department selectDept(Long id);

}
